import subprocess

cmd_pull = "adb pull /sdcard/screen.png D:/123"

res = subprocess.getstatusoutput(cmd_pull)
print(res[1])

print('12')